home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / dcom / modems-part1 / 5449 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  3.7 KB

  1. Path: news.ultranet.com!usenet
  2. From: "Albert P. Belle Isle" <belleisl@cerberus-sys.com>
  3. Newsgroups: alt.winsock.trumpet,alt.winsock,comp.dcom.modems,comp.os.ms-windows.setup.win3x
  4. Subject: Re: Trumpet Winsock Setup Help Request
  5. Date: Sat, 24 Feb 1996 15:08:23 -0500
  6. Organization: Cerberus Systems, Inc.
  7. Message-ID: <312F7037.5A12@cerberus-sys.com>
  8. References: <312e7c45.707818@news.sims.net>
  9. NNTP-Posting-Host: apb-p5-90.cerberus-sys.com
  10. Mime-Version: 1.0
  11. Content-Type: text/plain; charset=us-ascii
  12. Content-Transfer-Encoding: 7bit
  13. X-Mailer: Mozilla 2.0 (Win16; I)
  14.  
  15. sparks@sims.net wrote:
  16. > I'm using Trumpet Winsock ver 2.1f, WFWG 3.11, 28.8 V34 modem, and a
  17. > SLIP account.  What are the optimum MTU, TCP RWIN & TCP MSS settings
  18. > for this configuration?  Where can I find this information.  TCPMAN
  19. > online help is not definitive.
  20.  
  21. Sparks:
  22.  
  23. It's good practice to match your Internet Service Provider's IP MTU, since 
  24. any packet you get will be routed through his routers, and you might as well 
  25. look like "one of the guys" on his Local Area Network. (While you can't set 
  26. *his* MTU, you can make him unnecessarily throttle-down to fit a smaller MTU 
  27. that you set your WinSock to announce to him. As you probably know, not all 
  28. transfers use TCP/IP; some use UDP/IP, like RealAudio or VDOLive.)
  29.  
  30. Berkeley Unix implementations of SLIP seem to use the old ARPAnet value of 
  31. MTU=1006, but you should ask your ISP what value he uses, since there is no 
  32. one "standard" SLIP. (PPP is standardized, and must accept an MTU of 1500 
  33. bytes at start-up, after which it can be throttled-back to a lower setting 
  34. if you so request. This also happens to be the Ethernet default MTU.)
  35.  
  36. If you use an MTU the same size as the routers on your access provider's
  37. LAN, you can set your MSS for transfers that come from outside his LAN over 
  38. the Internet to anything that will fit in his maximum routing packet - i.e. 
  39. MSS no larger than his MTU minus 40 bytes for TCP and IP headers.
  40.  
  41. The objective is to amortize the header bytes (overhead) over as much TCP
  42. data as possible without getting router fragmentation of your packets. In
  43. other words, the larger MSS is, the smaller the percentage the header 
  44. bytes represent. BUT, MSS+40 must fit within the MTU of EVERY router on
  45. the Internet path between the download server and you - not just your ISP's.
  46.  
  47. Most of the time, if you want a "safe" setting, MSS=536 is good enough.
  48. (This is 40 bytes less than the Internet default MTU of 576, which all IP 
  49. routers are supposed to accommodate.) This setting will cause most remote 
  50. servers to respond with either 536- or 512-byte TCP data segments.
  51.  
  52. Since RWIN is the initial default (and maximum) value of the TCP flow 
  53. control window, you obviously want to set it to an exact multiple of the 
  54. size segments you're requesting; i.e., RWIN=n*MSS, where 3 <= n <= 10. You 
  55. may find a multiple of more than 8 or 10 results in sluggish response from 
  56. web-browsing while doing a file download in the background.
  57.  
  58. In any case, while mis-tuning can make a 28.8Kbps modem seem a lot 
  59. slower, that connect rate will limit you to uncompressible downloads of
  60. 3.2KBytes/sec. While there's no limit on how *badly* your winsock can be
  61. tuned, this does define the best you can do. Once you get that speed, any
  62. further tuning of TCP/IP software can't make a modem faster ;-)
  63.  
  64. I've put together a tutorial FAQ on the subject of WinSock speed-tuning
  65. (and related problems that prevent it, like com port overruns) at the
  66. below-listed URL, if you're interested in more details.
  67.  
  68. Regards,
  69.  
  70. Al
  71.  
  72. -- 
  73. ==================================================================
  74. Albert P. Belle Isle
  75. Cerberus Systems, Inc.
  76.  
  77. Al's Winsock Tuning FAQ -
  78.        http://www.cerberus-sys.com/~belleisl/mtu_mss_rwin.html
  79. ==================================================================
  80.